package cn.itsource.mapper;

import cn.itsource.domain.ArticleType;
import cn.itsource.query.Query;

import java.util.List;

public interface ArticleTypeMapper {

    public List<ArticleType> findAll();

    public ArticleType findOne(Long id);

    public void add(ArticleType articleType);

    public void update(ArticleType articleType);

    public void delete(Long id);

    //分页+模糊查询
    List<ArticleType> pageQuery(Query query);

    //批量删除
    void patchdel(Long[] ids);


}
